package com.CST.vo.ys;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 查询修订记录
 * @author cw
 */
@Data
public class YsModifyRecordVO {
    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("编号")
    private Integer num;

    @ApiModelProperty("预算科目ID")
    private Integer subjectId;

    @ApiModelProperty("用友科目名称")
    private String accountName;

    @ApiModelProperty("用友科目编码")
    private String accountCode;

    @ApiModelProperty("日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDateTime dateTime;

    @ApiModelProperty("凭证号")
    private String accountNum;

    @ApiModelProperty("部门编码")
    private String deptCode;

    @ApiModelProperty("摘要")
    private String description;

    @ApiModelProperty("金额")
    private Double amount;

    @ApiModelProperty("院区")
    private Integer yard;

    @ApiModelProperty("操作内容")
    private String operContent;

    @ApiModelProperty("操作人")
    private String operPerson;

    @ApiModelProperty("操作时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime operTime;

    @ApiModelProperty("是否撤销")
    private Integer revokeFlag;

    @ApiModelProperty("时间")
    private Integer period;

    @ApiModelProperty("1:业务职能  2:管理职能")
    private Integer type;

    @ApiModelProperty("预算科目名称")
    private String subjectName;

    @ApiModelProperty("预算科目编码")
    private String subjectCode;

    @ApiModelProperty("部门名称")
    private String deptName;
}
